package com.project.service;

import com.project.bean.TianMaoBean;

import java.util.List;

public interface ITianMaoService {

    public void add(TianMaoBean tianMao);

    public TianMaoBean findById(Integer id);
    public List<TianMaoBean> findByName(String name);

    public List<TianMaoBean> findAll();

    public void update(Integer id,Integer num);
}
